﻿<views:MvxWpfView
	x:Class="Sidvall.IdentityManager.UI.Wpf.Views.NavigationView"
	xmlns:views="clr-namespace:MvvmCross.Wpf.Views;assembly=MvvmCross.Wpf"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:vms="clr-namespace:Sidvall.IdentityManager.UI.ViewModels;assembly=Sidvall.IdentityManager.UI"
	xmlns:Converters="clr-namespace:Sidvall.UI.Wpf.Converters;assembly=Sidvall.UI.Wpf" 
	xmlns:Custom="http://schemas.odyssey.com/wpf" 
	xmlns:Controls="clr-namespace:Sidvall.IdentityManager.UI.Wpf.Controls"
	mc:Ignorable="d" 
	d:DesignHeight="450" d:DesignWidth="300">

	<Grid Background="{DynamicResource {x:Static SystemColors.InactiveBorderBrushKey}}" Width="160" Margin="0,0,3,0"
		  d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type vms:NavigationViewModel}}">
		<StackPanel>
			<Controls:HeaderControl HeaderCaption="Administration" HeaderHorizontalContentAlignment="Center" FontSize="14" FontWeight="Bold"/>
			<Controls:ButtonControl ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowDashboardCommand}"
								ImageSource="/Sidvall.IdentityManager.UI.Wpf;component/Images/Dashboard.png" IsEnabled="{Binding CanShowDashboard}" 
								ButtonText="Dashboard" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowUsersCommand}"
								ImageSource="/Sidvall.IdentityManager.UI.Wpf;component/Images/User.png" IsEnabled="{Binding CanShowUsers}" 
								ButtonText="Users" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowUserProfileCommand}"
								ImageSource="/Sidvall.IdentityManager.UI.Wpf;component/Images/User.png" IsEnabled="{Binding CanShowUserProfile}" 
								ButtonText="Your Profile" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
		</StackPanel>
	</Grid>
</views:MvxWpfView>
